package com.lan.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* <p>
* 角色
* </p>
*
* @author shadow
* @since 2022-06-04
*/
@Data
@Accessors(chain = true)
@TableName("student_role")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 主键id
    */
    private String id;

    /**
    * 角色码
    */
    private String code;

    /**
    * 角色名
    */
    private String name;

    /**
    * 状态
    */
    private String status;

    /**
    * 介绍
    */
    private String introduction;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime created;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime updated;

}